﻿

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ComparativoItemSeleccionPanel.ascx.cs" 
Inherits="UILGestion.Control.ComparativoItemSeleccionPanel" %>
<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc2" %>

           <asp:UpdatePanel ID="seleccionUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
           
               <asp:Panel ID="Panel1" runat="server" CssClass="Heading secTitle AreaHeading ms-crm-List-Header " >
               Seleccionar Recursos
                </asp:Panel>

               <asp:Panel ID="Panel2" runat="server"  class="ms-crm-Form-Body" Height="350px" >
                 <input id="idEstructuraCostoPartir" type="hidden"  runat="server" />
                               <input id="idRecursoPartirList" type="hidden"  runat="server" />
                               <input id="idRecursoAgrupado" type="hidden"  runat="server" />
                               <input id="idEstructuraCosto" type="hidden"  runat="server" />
                               <input id="simbolMoneda" type="hidden"  runat="server" />
                               <input id="bitInclIGV" type="hidden"  runat="server" />
                               
                               

                               
<table  width="800px" >
            <tr>
                    <td align="right">
                        &nbsp;</td>
                    <td align="left" >
                        &nbsp;</td> 
                         <td align="right">
                             Total Seleccion:</td>
                         <td align="right">

                             <asp:UpdatePanel ID="totalUpdatePanel" runat="server" UpdateMode="Conditional">
                             <ContentTemplate>
                                <asp:Label ID="TotalLabel" runat="server" Text="0.00"></asp:Label>
                             </ContentTemplate>
                             </asp:UpdatePanel>
                             
                    </td>
                 
                </tr>
            </table>
            
        <asp:Panel ID="Panel3" runat="server" Height="330px" ScrollBars="Vertical" BackColor="White" 
                       BorderColor="LightSteelBlue" BorderStyle="Solid" BorderWidth="1px"   >
              
                 
       <asp:GridView ID="itemGridView" 
       Runat="Server" 
       AutoGenerateColumns="false" 
       DataKeyNames="idInternal"  
              GridLines="None"
       CellPadding="4" >
 <EditRowStyle BackColor="#FFFF99" BorderStyle="None" />
<FooterStyle BackColor="#FFFF99" BorderStyle="None" />
  <RowStyle  BackColor="White" BorderStyle="Solid" BorderColor="White"  BorderWidth="1px"/>
  <HeaderStyle CssClass="ms-crm-List-Header" />
                  <Columns>
    
                <asp:TemplateField ItemStyle-Width="1%">
                            <ItemTemplate >
                                <asp:CheckBox runat="server" ID="chkEmployeeSelector"  ClientIDMode="Static" 
                                 OnCheckedChanged="ItemSelectChange" AutoPostBack="true"/>
                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:CheckBox runat="server" ID="chkSelectAll" ClientIDMode="Static" 
                                 OnCheckedChanged="ItemAllSelectChange" AutoPostBack="true"/>
                            </HeaderTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="codigo" HeaderText="Codigo"   HeaderStyle-Width="55px" />
                <asp:BoundField DataField="descripcion" HeaderText="Descripcion"  HeaderStyle-Width="300px"/>
                <asp:BoundField DataField="unidad" HeaderText="Unid." HeaderStyle-Width="35px" />
                <asp:BoundField DataField="cantidadStr" HeaderText="Cant."  ItemStyle-Width="95px" ItemStyle-HorizontalAlign="Right" />
                <asp:BoundField DataField="precioInclIGVStr" HeaderText="Precio"  ItemStyle-Width="95px"  ItemStyle-HorizontalAlign="Right" />
                <asp:BoundField DataField="precioNoIGVStr" HeaderText="Precio"  ItemStyle-Width="95px"  ItemStyle-HorizontalAlign="Right" />
                <asp:BoundField DataField="subMontoStr" HeaderText="Disponible"  ItemStyle-Width="95px"  ItemStyle-HorizontalAlign="Right" />
                <asp:BoundField DataField="subMontoIGVStr" HeaderText="Disponible"  ItemStyle-Width="95px"  ItemStyle-HorizontalAlign="Right" />
                </Columns>
                </asp:GridView>
         </asp:Panel>  
</asp:Panel>
 
               
            </ContentTemplate>
           
            </asp:UpdatePanel>
          
    
          
    



          
    


